home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 003 / list63a.arc / LIST.DOC < prev    next >
Encoding:
Text File  |  1988-08-13  |  55.2 KB  |  1,500 lines

  1. 
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.                             LIST Version 6.3a 
  20.  
  21.                              August 13, 1988 
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.                    (c) Copyright  Vernon D. Buerg 1983-88 
  58.                            All rights reserved 
  59.  
  60.             T A B L E   O F   C O N T E N T S
  61.  
  62. __________________________________________________________________________
  63.  
  64.  
  65.  Description of Use  ................................................... 1    
  66.       Introduction  .................................................... 1    
  67.       Command line format  ............................................. 1    
  68.       Installation  .................................................... 1    
  69.  
  70.  How to use LIST  ...................................................... 2    
  71.  
  72.  Commands and Keys  .................................................... 4    
  73.       Cursor keys  ..................................................... 4    
  74.       Letter keys  ..................................................... 4    
  75.       Control- keys  ................................................... 5    
  76.       F- function keys  ................................................ 5    
  77.       Alt- keys  ....................................................... 6    
  78.  
  79.  Scrolling  ............................................................ 8    
  80.  
  81.  Positioning to Lines  ................................................. 9    
  82.  
  83.  Displaying multiple files  ............................................ 10   
  84.  
  85.  Marking and Extracting Lines  ......................................... 11   
  86.      Display Format  ................................................... 12   
  87.      Status Line Format  ............................................... 12   
  88.      Command Line Format  .............................................. 13   
  89.  
  90.  Screen Colors  ........................................................ 14   
  91.  
  92.  Cloning Procedure  .................................................... 15   
  93.  
  94.  Scanning for text  .................................................... 16   
  95.  
  96.  Filtering  ............................................................ 17   
  97.       Hi-bit Filter  ................................................... 17   
  98.       Star Filter  ..................................................... 17   
  99.       Junk Filter  ..................................................... 17   
  100.       Hex Format Filter  ............................................... 17   
  101.  
  102.  DOS considerations  ................................................... 18   
  103.       File Sharing  .................................................... 18   
  104.       Invoking DOS Commands  ........................................... 18   
  105.       Screen Saving  ................................................... 18   
  106.  
  107.  DEBUG Information  .................................................... 19   
  108.  
  109.  Restrictions  ......................................................... 20   
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123. Contents 1                                             LIST  User's Guide 
  124. Description of Use 
  125. ______________________________________________________________________________
  126.  
  127.  
  128.     Introduction 
  129.   
  130.             You use LIST to display files on your monitor, line by  line 
  131.         with the aid of scrolling, positioning and filtering commands. 
  132.   
  133.  
  134.     Command line format 
  135.   
  136.         The command line format is: 
  137.   
  138.   
  139.         LIST [filespec...filespec] [/S][/J][/7][/8][/*][/W][/H][/L] 
  140.   
  141.   
  142.         where filespec is one or more names of files and the optional  / 
  143.         switches are: 
  144.   
  145.                 /S       indicates viewing a piped or redirected file 
  146.                 /J       sets Junk filter on 
  147.                 /7       sets 7-bit display 
  148.                 /8       sets 8-bit display 
  149.                 /*       sets star filter on 
  150.                 /W       sets Wrap on 
  151.                 /H       sets Hex dump mode 
  152.                 /L       sets pre-Loading on 
  153.   
  154. |           The command line switch character is normally a slash,  "/", 
  155. |       but LIST  will use  whatever character  that is  defined to  DOS 
  156. |       as the command line switch character, e.g. a dash, "-". 
  157.   
  158.  
  159.     Installation 
  160.   
  161.             There are two .COM files and this .DOC file on the disk that 
  162.         you received (or  in the .ARC  file that you  downloaded).  Copy 
  163.         the two .COM files to your working disk, and into the  directory 
  164.         that is most convenient.  The LIST.COM file is the full featured 
  165.         program, and  the LISTS.COM  file is  the small  version.  LISTS 
  166.         runs in much less memory (about 29K) but is limited to files  of 
  167.         about 50 thousand lines, or about 600 K bytes.  It also excludes 
  168.         the  screen  saving  feature  (see  Alt-X), and the shell to DOS 
  169.         command (see Alt-G), and the help screen. 
  170.   
  171.             You may rename the program file to any convenient name, such 
  172.         as L.COM, READ.COM, or LIST.COM. 
  173.   
  174.         To print the documentation, set  your printer for six lines  per 
  175.         inch,  and  10  characters  per  inch.   Then, use the DOS PRINT 
  176.         command.  For example, 
  177.   
  178.                         PRINT LIST.DOC 
  179.   
  180.         The documentation file is marked  with | before new and  changed 
  181.         lines. 
  182.   
  183.  
  184.  
  185.  
  186.  
  187.  
  188. LIST  User's Guide                                                    Page  1 
  189. How to use LIST 
  190. ______________________________________________________________________________
  191.  
  192.   
  193.             Using LIST is fairly straightforward.  You type the  command 
  194.         LIST, at the  DOS prompt, followed  by the name(s)  of the files 
  195.         that  you  want  to  see.   For  example:  LIST CONFIG.SYS would 
  196.         display the file CONFIG.SYS. 
  197.   
  198.             Once the file is displayed  on your screen, you may  use the 
  199.         cursor positioning keys to  move around and see  different parts 
  200.         of the file.  For example,  when LIST first starts, you  see the 
  201.         first 23 lines of the file.  To see the next 23 lines, or  page, 
  202.         press the PgDn key.   The PgUp key moves  you back one page  and 
  203.         shows you the  previous 23 lines.   The up-arrow and  down-arrow 
  204.         keys move it one line at  a time.  When you are finished,  press 
  205.         the ESCape key and you are returned to the DOS prompt. 
  206.   
  207.             The "filename" is optional.  If omitted, you are prompted to 
  208.         enter a filename.  You may  include drive, path, and wild  cards 
  209.         in the  file name.   The first  file which  matches that name is 
  210.         displayed.  After  the file  is displayed,  the next  file which 
  211.         matches the "filename" may be displayed, too. 
  212.   
  213.             You may also use LIST to display piped or redirected  files. 
  214.         If you are unfamiliar with these, you may skip to the next page. 
  215.   
  216.             To display  a redirected  file, use  a <  (less than symbol) 
  217.         before the name of the file  that was redirected and add the  /S 
  218.         parameter to the LIST command.   For example, the output of  the 
  219.         DIR command can be written to  a file called XYZ, and then  LIST 
  220.         can be instructed to read that file. 
  221.   
  222.                 dir a: >xyz 
  223.                 list <xyz /s 
  224.   
  225.             To display a piped file,  omit the filename, but supply  the 
  226.         /S. 
  227.   
  228.                 dir a: | list /s 
  229.   
  230.         Or, to LIST a file within an ARC archive: 
  231.   
  232.                 arc /p arcname.arc filename.ext | list /s 
  233.                                 - or - 
  234.                 arce arcname filename.ext /p | list /S 
  235.   
  236.   
  237.             Because files  contain different  kinds of  data, there  are 
  238.         several commands  to tell  LIST how  to display  the data.   The 
  239.         process that LIST uses to make the file data readable is  called 
  240.         filtering.  The filters in LIST can: 
  241.   
  242.             o  replace non-text and control characters with blanks 
  243.             o  expand TAB characters 
  244.             o  display line drawing characters 
  245.             o  change 8-bit (W*) data to readable 7-bit text 
  246.             o  display the hexidecimal values for each character 
  247.             o  remove "junk", such as control codes and backspaces 
  248.   
  249.             LIST was designed  to display ASCII  files.  That is,  files 
  250.         which  contain  text,  and  not  binary  or control codes.  Text 
  251.         characters usually  range from  a value  of 32  to 127.  To view 
  252.  
  253. Page  2                                                    LIST  User's Guide 
  254. How to use LIST 
  255. ______________________________________________________________________________
  256.  
  257.         binary  files  (COM,  EXE,  etc),  the  alt-H (hex dump display) 
  258.         command is available. 
  259.   
  260.   
  261.             Characters  below  32  (a  blank)  are replaced with a funny 
  262.         character to indicate that a non-displayable character has  been 
  263.         encountered.  This  character is  an upside-down  question mark. 
  264.         Characters above 127 may be valid graphic characters, and may be 
  265.         displayed  if  the  '8'  command  is  in effect.  To insure that 
  266.         characters above ASCII value 127 are not displayed, use the  '7' 
  267.         command. 
  268.   
  269.   
  270.             The top  line of  the display  gives the  file name, current 
  271.         right  scroll  offset,  and  the  FILE's creation date and time. 
  272.         Optionally, a ruler  may be displayed  on the top  line by using 
  273.         the alt-R keys. 
  274.   
  275.             The  file  is  displayed  with  one  logical  record on each 
  276.         display line: usually 80 characters.  A logical record ends in a 
  277.         linefeed and  may be  up to  910 characters  long.  If  a record 
  278.         exceeds 80 characters,  you may view  the portion beyond  the 80 
  279.         columns by using the scroll right command, or by using the  Wrap 
  280.         feature.  The Wrap (W) command toggles ON or OFF the wrapping of 
  281.         lines  longer  than  80  characters.   With  Wrap  on, lines are 
  282.         displayed in  their entirety,  80 characters  per display  line. 
  283.         The scroll left (arrow) and right (arrow) functions are disabled 
  284.         when Wrap is ON. 
  285.   
  286.             The file may be PRINTed  as it it displayed.  The  P command 
  287.         toggles  the  printer  on  or  off.   When  first entered, the P 
  288.         command causes the current screen  to be printed.  As new  lines 
  289.         are displayed, they too are printed.  Printing may be stopped by 
  290.         entering another P command.  The PrtSc key may also be used, but 
  291.         the title and prompt lines will be printed with the lines of the 
  292.         file.  Empty lines  cause a line  to be skipped  on the printer. 
  293.         The  letter  P  is  displayed  on  the bottom command line while 
  294.         printing.   See  the  section  on  extracting  lines  for  other 
  295.         methods. 
  296.   
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318. LIST  User's Guide                                                    Page  3 
  319. Commands and Keys 
  320. ______________________________________________________________________________
  321.  
  322.  
  323.     Cursor keys 
  324.   
  325.         Control key   Function 
  326.         -----------   ----------------------------------------------- 
  327.         left arrow    scroll left 10 columns 
  328.         right arrow   scroll right 10 columns 
  329.         up arrow      up one (previous) line 
  330.         down arrow    down one (next) line 
  331.   
  332.         Enter         continue to next page 
  333.         END           position to end of file (bottom) 
  334.         ESCape        Exit program unconditionally 
  335.         HOME          restart from first line (top) 
  336.         PgUp          scroll up one page, 23 lines 
  337.         PgDn          scroll down one page, 23 lines 
  338.   
  339.  
  340.     Letter keys 
  341.   
  342.         Letter(s)     Default   Function 
  343.         ---------     -------   ---------------------------------------- 
  344.         A                       find next occurrence of 'text' (Again) 
  345.         B                       skip to end of file (Bottom) 
  346. |       C               off     toggles Continuous scrolling 
  347.         D                       scroll Down one page 
  348.         F                       Find 'text' regardless of case 
  349.         G                       Get new filename/filespec (also alt-F) 
  350.         H or ?                  Help, show command list 
  351.         K               off     toggle Keyboard flush; if on, commands 
  352.                                 may be queued up by holding a key down 
  353.         L                       scroll Left 10 columns 
  354.         M               on      toggle test for display retrace, if on 
  355.                                 the display is faster but may flicker; 
  356.                                 not applicable to monochrome monitors 
  357.         N                       down one (Next) line 
  358.         P               off     toggle Printer on or off 
  359.         Q                       Quit, display next file, or exit if only 
  360.                                 one file is being viewed 
  361.         R                       scroll Right 10 columns 
  362.         S                       Scan for exact text match, case dependent 
  363.         T                       restart from first line (Top) 
  364.         U                       scroll Up one page (23 lines) 
  365.         W               off     toggle Wrap of lines over 80 chars 
  366.         X                       terminate, clear screen and eXit to DOS 
  367.         Z                       like ctl-PgUp, displays previous file 
  368.   
  369.         7               off     turn off high bit (non-graphics only) 
  370.         8               on      leave high bit on (graphics) 
  371.         *               off     toggles special * document filtering 
  372.   
  373.         +                       position a given number of lines forwards 
  374.         -                       position a given number of lines backwards 
  375.   
  376.         \text                   Find any case 'text' going forwards 
  377.         /text                   Scan exact case 'text' going forwards 
  378.   
  379.         ` or ^                  Find any case 'text' going backwards 
  380.         ' or v                  Find exact case 'text' going backwards 
  381.   
  382.  
  383. Page  4                                                    LIST  User's Guide 
  384. Commands and Keys 
  385. ______________________________________________________________________________
  386.  
  387.  
  388.     Control- keys 
  389.         Control key     Function 
  390.         -----------     --------------------------------------------------- 
  391.   
  392.         ctl-HOME        positions to a specific line number 
  393.   
  394.         ctl-PgUp        display previous file (review) 
  395.         ctl-PgDn        display next file (or exit if only one file) 
  396.   
  397.         ctl-left-arrow  reset horizontal scroll position to column 1 
  398.   
  399. |       ctl-A           scroll full left 
  400. |       ctl-C           next page 
  401. |       ctl-D           scroll right 
  402. |       ctl-E           former line 
  403. |       ctl-N           display next file 
  404. |       ctl-R           former page 
  405. |       ctl-S           scroll left 
  406. |       ctl-U           display previous file 
  407. |       ctl-W           former line 
  408. |       ctl-X           next line 
  409. |       ctl-Z           next line 
  410.   
  411.  
  412.     F- function keys 
  413.   
  414.     Function key     Function 
  415.     ------------     --------------------------------------------------- 
  416.   
  417.      F1              Help - display summary of commands 
  418.   
  419.      F3              Find next occurrence of text after Scan or Find 
  420.   
  421.      F9              Find previous occurrence of text after Scan or Find 
  422.   
  423.      F10             Exit to DOS with clear screen and cursor last line 
  424.   
  425.   
  426.      F2              change background color for Find/Scan text 
  427.      F4              change foreground color for Find/Scan text 
  428.   
  429.      F5              change background color for main body of display 
  430.      F6              change foreground color for main body of display 
  431.   
  432.      F7              change background color for top and bottom lines 
  433.      F8              change foreground color for top and bottom lines 
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448. LIST  User's Guide                                                    Page  5 
  449. Commands and Keys 
  450. ______________________________________________________________________________
  451.  
  452.  
  453.     Alt- keys 
  454.   
  455.         The Alt- key commands are entered by pressing the Alt key at the 
  456.         same time as you press one of the following letter keys: 
  457.   
  458.   
  459.     alt- letter      Function 
  460.     -----------      --------------------------------------------------- 
  461.   
  462.      alt-A           toggle on if you are using APXCOREA; off (default) 
  463.                      if using DesqView or DoubleDos 
  464.   
  465.      alt-B           mark bottom line 
  466.   
  467.      alt-C           clone LIST.COM, change colors or options permanently, 
  468.                      in a new copy of the LIST.COM program file 
  469.   
  470.      alt-D           toggle dump mode: if no lines are marked, the current 
  471.                      screen only is written to the specified file; if lines 
  472.                      are marked, they are written to the dump file. 
  473.   
  474.      alt-E           toggle 25/43 line display (does test for EGA). If the 
  475.                      actual EGA lines is not 25 or 43, don't use alt-E 
  476.   
  477.      alt-F           prompt for new Filespec or filename to display 
  478.                      entering a leading asterisk (*) may be obscured 
  479.                      by some console enhancers or utilities, so enter 
  480.                      two asterisks, e.g. **.doc 
  481.      alt-G           Shell to DOS, invoke COMMAND.COM, requires 96k or more. 
  482.                      Use the DOS EXIT command to return to LIST. 
  483.   
  484.      alt-H           toggles hex dump formatted display 
  485.   
  486.      alt-J           toggle adding line feed to lone carriage returns 
  487.                      and remove backspaces, overlaying previous characters 
  488.   
  489.      alt-L           toggles preloading of files; default is OFF 
  490.                      When the file is pre-loaded, the number of the 
  491.                      last line number becomes known. 
  492.   
  493.      alt-M           mark top line; marked lines may be printed or written 
  494.                      to the alt-D dump file. 
  495.   
  496. |    alt-N           toggles screen saving feature; with screen saving 
  497. |                    disabled, the minimum memory required is about 38k 
  498.   
  499. |    alt-O           like alt-D, writes marked lines to a file using the 
  500. |                    filename from the previous alt-D command 
  501.   
  502.      alt-R           toggles display of a ruler on the top line 
  503.   
  504.      alt-S           toggles file Sharing option, when off 
  505.                      files remain open until program termination 
  506.   
  507.      alt-T           toggles expansion of TAB control characters, the 
  508.                      tab columns are a multiple of 8, i.e. 1,9,17, etc. 
  509.                      The default is to expand TABs. See DEBUG section. 
  510.   
  511.      alt-U           unmark lines; line marks are removed 
  512.  
  513. Page  6                                                    LIST  User's Guide 
  514. Commands and Keys 
  515. ______________________________________________________________________________
  516.  
  517.   
  518.      alt-W           toggles split screen; when ON, the top half of 
  519.                      the screen is frozen. Further scrolling occurs 
  520.                      only in the bottom half of the screen (window) 
  521.                      until the alt-W keys are used again. 
  522.   
  523. |    alt-Y           repositions the file to the last "active" line; 
  524. |                    that is a line positioned to by Find/Scan, or 
  525. |                    by alt-M/alt-B marking of lines. 
  526.   
  527.      alt-X           exits to DOS and displays the original screen 
  528.                      (unless screen saving has been disabled) 
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578. LIST  User's Guide                                                    Page  7 
  579. Scrolling 
  580. ______________________________________________________________________________
  581.  
  582.   
  583.             You view different parts of the file by scrolling.  That is, 
  584.         you use the cursor positioning keys up, down, left and right  to 
  585.         move the display one increment in that direction.  For  example, 
  586.         press the down  arrow key to  move the display  one line in  the 
  587.         file, i.e. display the next line in the file. 
  588.   
  589.             The  PgDn  and  PgUp  cursor  keys  move the display on full 
  590.         screen in either direction. 
  591.   
  592.   
  593.             Rather than press the up  and down keys once for  each line, 
  594.         you  may  use  continuous  scrolling.   Use  the C key to toggle 
  595.         continuous  scrolling  on  or  off.   The  default is off.  When 
  596.         toggled on,  pressing the  up or  down arrow  keys results  in a 
  597.         moving display.  For example, when you press the down arrow, the 
  598.         next  line  of  the  file  is  displayed automatically every few 
  599.         moments.  It is  like holding down  the arrow key.   To stop the 
  600.         continuous scroll, press the space bar. 
  601.   
  602.   
  603.             The  speed  of  the  continuous  scroll  can  be adjusted by 
  604.         pressing the  + (plus)  or -  (minus) key  while the  display is 
  605.         moving.  The  plus key  makes the  display move  faster, and the 
  606.         minus key makes it move slower.  You can save the speed value by 
  607.         using the cloning command (see Alt-C). 
  608.   
  609.   
  610.         Summary of scrolling commands: 
  611.   
  612.             right arrow - move display right 10 columns 
  613.             left arrow  - move display left 10 columns 
  614.             down arrow  - display next line of file 
  615.             up arrow    - display previous line of file 
  616.             PgUp key    - display previous "page", 23 (or 41) lines back 
  617.             PgDn key    - display next "page", 23 (or 41) lines ahead 
  618.   
  619.             C key       - turns continuous scrolling on or off 
  620.             spacebar    - or any key, interrupts continuous scrolling 
  621.             + (plus)    - makes continuous scroll incrementally faster 
  622.             - (minus)   - makes continuous scroll slower 
  623.   
  624.   
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643. Page  8                                                    LIST  User's Guide 
  644. Positioning to Lines 
  645. ______________________________________________________________________________
  646.  
  647.   
  648.             Each displayable line of the file is assigned a line number. 
  649.         The first line is assigned line number 1.  The highest allowable 
  650.         line  number is 16 million.  In order to determine the last line 
  651.         number, the  entire file  must be  read.  For  this reason,  the 
  652.         first time that the END (bottom) command is issued, it will take 
  653.         longer to process.  This is  not necessary if the file  has been 
  654.         completely read (see the alt-L preloading option). 
  655.   
  656.             If the Wrap  option is in  effect, there is  one line number 
  657.         required for  each 80  bytes of  the file's  records.  Thus, the 
  658.         line number does not represent the actual number of lines in the 
  659.         file. 
  660.   
  661.             If  the  hex  dump  option  is  in effect, there is one line 
  662.         number required for each 16 bytes of the file.  For example,  an 
  663.         80-byte file will be displayed as 5 lines. 
  664.   
  665.             You may  position to  a specific  line number  by using  the 
  666.         c-Home, Ctrl key  and Home key,  or the #  key.  When c-Home  is 
  667.         entered, you are prompted for the line number.  Enter the 1 to 5 
  668.         digit line number.   The display will  now begin with  that line 
  669.         number at the top of the screen. 
  670.   
  671.             To position forward or backward,  you may use the +  (plus), 
  672.         or -  (minus) keys.   You are  prompted to  enter the  number of 
  673.         lines to  be skipped.   The display  resumes at  the line number 
  674.         shown on  the top  (status) line,  plus or  minus the  number of 
  675.         lines that you specified. 
  676.   
  677.             When you  change a  filter option,  such as  Wrap, the  line 
  678.         numbering changes.  An attempt is  made to retain the same  file 
  679.         position, but the file may be repositioned at the top. 
  680.   
  681.   
  682.         Summary of positioning commands: 
  683.   
  684.         ctrl-HOME, or #  - prompts for exact line number to display 
  685.         + (plus)         - prompts for the number of lines to skip 
  686.                            for positioning further ahead in the file 
  687.         - (minus)        - prompts for the number of lines to skip 
  688.                            for positioning to an earlier line 
  689.   
  690.   
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708. LIST  User's Guide                                                    Page  9 
  709. Displaying multiple files 
  710. ______________________________________________________________________________
  711.  
  712.   
  713.             You can display more than one file by supplying wildcards in 
  714.         the file name.  For example,  LIST *.DOC will display all  files 
  715.         with an extension of DOC. 
  716.   
  717.             To  display  the  next  file,  you  use  the  Q or ctrl-PgDn 
  718.         command.  When the  last file has  been displayed, you  can exit 
  719.         LIST by using the X,  F10, ESCape, or alt-X commands,  depending 
  720.         on how you want the screen to look when LIST ends. 
  721.   
  722.             To display the previous file, you use the ctrl-PgUp (control 
  723.         and PgUp keys together).  LIST can keep track of up to 20  files 
  724.         at one time.  The line number for each file is also remembered. 
  725.   
  726.             Another way to LIST more than  one file is to use the  alt-F 
  727.         command.  Alt-F asks you for a new file name, and you may  enter 
  728.         a simple file name, or one that includes wild cards.  These  new 
  729.         file names are added to the table of filenames that LIST  keeps. 
  730.         Thus, you can use alt-F for several different filenames, and use 
  731.         the ctrl-PgDn and ctrl-PgUp commands to move among them. 
  732.   
  733.   
  734.         Summary of file review commands: 
  735.   
  736.         ctrl-PgUp       - display previous file 
  737.         ctrl-PgDn       - display next file 
  738.   
  739.         alt-F           - prompt for new filename or filespec to display 
  740.   
  741.         ESCape          - exit to DOS 
  742.         Q               - display next file; if none, exit to DOS 
  743.                           leaving the last page on the screen 
  744.         X               - exit to DOS with a blank screen 
  745.         F10             - exit to DOS with a blank screen 
  746.         alt-X           - exit to DOS and display the screen that was 
  747.                           present when LIST was invoked 
  748.   
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773. Page  10                                                    LIST  User's Guide 
  774. Marking and Extracting Lines 
  775. ______________________________________________________________________________
  776.  
  777.   
  778.             There are two ways that lines can be extracted from a file: 
  779.   
  780.               o  with the P (print) command, and 
  781.               o  with the alt-D (dump data) command. 
  782.   
  783.             The lines to  be extracted are  either the current  lines on 
  784.         the screen,  or lines  that you  have marked  with the alt-M and 
  785.         alt-B commands. 
  786.   
  787.             To mark lines, you use  either the alt-M or alt-B  commands. 
  788.         The alt-M command  marks the top  line on the  screen, and alt-B 
  789.         marks the bottom line on the screen.  You can use either or both 
  790.         commands to mark the starting and ending lines (in the range  of 
  791.         lines  to  be  extracted).   The  marked  lines are displayed in 
  792.         reverse video. 
  793.   
  794.             After  you  have  marked  a  range  of  lines, you use the P 
  795.         (print) command to print all  of the marked lines.  Or,  you can 
  796.         use the  alt-D (dump  data) command  to write  those lines  to a 
  797.         file.  The alt-D command asks you for a file name.  If the  file 
  798.         does not  exist, a  new one  is created.   If the  file  already 
  799.         exists, the extracted lines are added (appended) to the file. 
  800.   
  801.             For example, you would like  to have LIST filter out  all of 
  802.         the junk in a file, and then write a new file.  To do this,  you 
  803.         might enter the following sequence of commands: 
  804.   
  805.                 list TESTDATA           ... display your TESTDATA file 
  806.                 alt-J                   ... filters out the junk 
  807.                 alt-M                   ... marks line 1 (top line) 
  808.                 END                     ... positions to end of file 
  809.                 alt-B                   ... marks the bottom line 
  810.                                                      (last line) 
  811.                 alt-D                   ... dumps data to a file 
  812.                 TESTDATE.NEW            ... you enter the new file name 
  813.                 alt-X                   ... quit and return to DOS 
  814.   
  815.   
  816.             Once you have marked a range of lines, use of alt-M or alt-B 
  817.         does not reset the entire line range.  The first or last  marked 
  818.         line may  change, but  both do  not change.   Using alt-M  again 
  819.         expands or contracts the  range appropriately.  If the  new line 
  820.         for alt-M/alt-B is before the  top mark, the top mark  is moved. 
  821.         If the new  line is after  the bottom mark,  the bottom mark  is 
  822.         changed.  If the new line is within the currently marked  range, 
  823.         alt-M moves the top mark - contracts the range - and alt-B moves 
  824.         the bottom mark. 
  825.   
  826.   
  827.             Use  the  alt-U  command  to  unmark lines, especially after 
  828.         alt-D (dump) to be sure. 
  829.   
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838. LIST  User's Guide                                                    Page  11 
  839. Marking and Extracting Lines 
  840. ______________________________________________________________________________
  841.  
  842.  
  843.    Display Format 
  844.   
  845.             The  monitor  display  is  defined  in  terms  of  lines and 
  846.         columns.  A typical monitor can  display 25 lines of 80  columns 
  847.         each.  LIST attempts to use the number of lines and columns  for 
  848.         the monitor mode in use.  For  example, if the monitor is in  40 
  849.         column mode, LIST displays only 40 characters per line.  And, if 
  850.         the monitor is set  for other than 25  lines, such as 35  or 43, 
  851.         LIST uses that number of lines. 
  852.   
  853.             If you use  the alt-E command  to change EGA  modes, the EGA 
  854.         palette,  cursor,  and  other  settings  are  set to DOS default 
  855.         values.  LIST does not preserve fonts or palettes. 
  856.   
  857.             The top line of the display is called the Status line.   The 
  858.         bottom line is called the Command line.  The remaining lines are 
  859.         called the  primary display  window, and  are usually  lines two 
  860.         through 24. 
  861.   
  862.  
  863.    Status Line Format 
  864.   
  865.         The Status line has the following format: 
  866.   
  867.                 LIST   lllll nnnnnnn +sss mm/dd/yy hh:mm  - filename 
  868.   
  869.         where, 
  870.   
  871.         'LIST'     is the name of this program 
  872.   
  873.         'lllllll'  is the line number of the first line in the 
  874.                    display window (usually on line 2) 
  875.   
  876.         'nnnnnnn'  is the line number of the last record, if known 
  877.   
  878.         '+sss'     if displayed, this is the Scroll amount, in 
  879. |                  multiples of 10, corresponding to the number 
  880.                    of columns that the display has been shifted 
  881.                    to the right to view records longer than 80 
  882.   
  883.         'mm/dd/yy' is the file's creation date (not today's date) 
  884.         'hh:mm'    is the file's creation time (not today's time) 
  885.   
  886.   
  887.         Note:      The date and time  shown on the top line is  NOT  the 
  888.                current date.  It is the date and time  that the file was 
  889.                created. 
  890.   
  891.   
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903. Page  12                                                    LIST  User's Guide 
  904. Marking and Extracting Lines 
  905. ______________________________________________________________________________
  906.  
  907.  
  908.    Command Line Format 
  909.   
  910.         The Command line has the following format: 
  911.   
  912.       command message _________ Toggles: hbkmpswtalj Keys: X=exit ?=Help 
  913.                                           ----------- 
  914.         where, 
  915.   
  916.         'command' indicates the current process: 
  917.   
  918.           'Command'   function prompt; you are being asked to enter 
  919.                        a command; enter the letter, or press the keys 
  920.                        for the action to be performed 
  921.   
  922.           'Reading '   the file data is being read 
  923.           'Filter  '   the file data is being formatted for display 
  924.           'Looking '   the Scan/Find text is being searched for 
  925.   
  926.           'Scan   '   you are being asked to enter text to locate 
  927.           'Find   '   in the file, up to 31 characters may be entered 
  928.   
  929.           '# lines?'   you are being asked to enter a 1 to 5 digit 
  930.                        number that is the amount of lines to skip 
  931.   
  932.           'Line #? '   you are being asked to enter a 1 to 5 digit 
  933.                        line number to which the display is to be 
  934.                        positioned 
  935.   
  936.   
  937.         'message' may be one of: 
  938.   
  939.           '*** Text not found ***' 
  940.            the Scan/Text was not found in the file 
  941.   
  942.           '   *** Top of file ***' 
  943.            the first line of the file is being displayed 
  944.   
  945.           '   *** End-of-file ***' 
  946.            the last line of the file is being displayed 
  947.   
  948.         Toggles: indicate status of toggles, lower case means OFF, upper 
  949.         case means the option is ON. 
  950.   
  951.         'H'       indicates that the hex Dump display option is in use 
  952.         'b'       the 'b' is replaced by a 7, 8, or * depending 
  953.                   on which of those options is in effect 
  954.         'K'       indicates that the Keyboard flush option is in use 
  955.         'M'       indicates that tests for monitor retrace are not made 
  956.         'P'       indicates that Print is in use 
  957.         'C'       toggles continuous scrolling 
  958.   
  959.         'W'       indicates that the Wrap mode is in effect 
  960.         'T'       indicates that TAB characters are expanded 
  961.         'A'       indicates APXCORE interface, 'a' for TV/DV/DD 
  962.         'L'       indicates that the pre-loading option is on 
  963.         'J'       indicates that line feeds are added to lone carriage 
  964.                   return control characters, and backspaces are handled 
  965.   
  966.  
  967.  
  968. LIST  User's Guide                                                    Page  13 
  969. Screen Colors 
  970. ______________________________________________________________________________
  971.  
  972.   
  973.             The screen's lines may be in any of three different colors: 
  974.   
  975.                 o  the 'special' color for the top status line and the 
  976.                    bottom command line 
  977.                 o  the 'normal' color for the file's text windows 
  978.                 o  the 'bright' color for lines with Find/Scan text, 
  979.                    and for the upside-down question mark in 7-bit mode 
  980.   
  981.             There is  a pair  of function  keys assigned  to each color. 
  982.         You use these function keys at any time to change the background 
  983.         and  foreground  colors  temporarily,  or  use the alt-C cloning 
  984.         command to make the  colors permanent.  Alt-C requires  that the 
  985.         LIST.COM program file be on the current drive and in the current 
  986.         directory. 
  987.   
  988.            The border is not  changed.  The foreground color  applies to 
  989.         the color of the characters. 
  990.   
  991.   
  992.         The color attributes may be changed by using these function keys: 
  993.   
  994.           For the main body of text: 
  995.   
  996.                 F5 - background color 
  997.                 F6 - foreground color 
  998.   
  999.           For the top and bottom lines: 
  1000.   
  1001.                 F7 - background color 
  1002.                 F8 - foreground color 
  1003.   
  1004.           For the line with Find/Scan text: 
  1005.   
  1006.                 F2 - background color 
  1007.                 F4 - foreground 
  1008.   
  1009.             Once you  have decided  upon the  colors, use  the alt-C key 
  1010.         combination to change the LIST.COM program file. 
  1011.   
  1012.  
  1013.  
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033. Page  14                                                    LIST  User's Guide 
  1034. Cloning Procedure 
  1035. ______________________________________________________________________________
  1036.  
  1037.   
  1038.             The screen colors, the display retrace testing (M), the file 
  1039.         closing (C) and ruler (alt-R) options may be permanently set  in 
  1040.         the program by using the alt-C cloning function. 
  1041.   
  1042.             For  cloning  to  take  effect,  the  program must be called 
  1043.         LIST.COM and it must be on the current drive and in the  current 
  1044.         directory.  There are two versions of the LIST COM file.  One is 
  1045.         the normal  program.  The  other, which  contains an  'S' as the 
  1046.         last letter of  the file name,  is a slightly  smaller file that 
  1047.         excludes  the  Help  screen.   You  may  use either COM file for 
  1048.         cloning.  After cloning, you may continue viewing the file. 
  1049.   
  1050.            The clonable options (command toggles) are: 
  1051.   
  1052.              M      =  Mono monitor, affects retrace testing. If you see 
  1053.                        "snow" on your color monitor, turn off this 
  1054.                        option 
  1055.   
  1056.              alt-S  =  file(s) are shared 
  1057.              W      =  Wrap long lines 
  1058.              8/7/*  =  display all 256 values, or 7-bit, or special case 
  1059.              K      =  flush Keyboard each time a command is read 
  1060.   
  1061.              alt-A  =  set on if using Apxcore, off if using Double Dos 
  1062.                        or TopView, or DesqView 
  1063.   
  1064.              alt-H  =  hex dump display, like the DEBUG format 
  1065.   
  1066.              alt-J  =  toggle "junk" filter, add LF to CR, fix backspaces 
  1067.   
  1068.              alt-L  =  set on to force preloading (reading) of the 
  1069.                        entire file before any lines are displayed, 
  1070.                        Default is OFF. 
  1071.   
  1072. |            alt-N  =  toggles screen saving (see alt-X) feature 
  1073.   
  1074.              alt-R  =  toggle columnar ruler on top line 
  1075.   
  1076.              alt-T  =  toggle expansion of TAB characters 
  1077.   
  1078.   
  1079.         Note: Be  sure you  have no  other copies  of LIST.COM which are 
  1080.         accessible (because of a filepath type of utility). 
  1081.   
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098. LIST  User's Guide                                                    Page  15 
  1099. Scanning for text 
  1100. ______________________________________________________________________________
  1101.  
  1102.   
  1103.             You may use Find (\ or  F) to search for text regardless  of 
  1104.         the case, or you may use Scan  (/ or S) to find an exact  match. 
  1105.         The search begins  at the top  line displayed and  proceeds in a 
  1106.         forward direction until the end of file.  You may start a search 
  1107.         that goes backwards  rather than forwards  by using the  ` (left 
  1108.         quote) key  instead of  Find (\),  or by  using '  (right quote) 
  1109.         instead of Scan (/). 
  1110.   
  1111.             To scan for a character string, type a slash (/) followed by 
  1112.         one or more (up to 31)  characters.  The Scan text, but not  the 
  1113.         slash,  is  displayed  on  the  command  line.  The Scan is case 
  1114.         sensitive.  That is, lower case Scan text will only match  lower 
  1115.         case file text. 
  1116.   
  1117.             While  the  program  is  searching  for the text, the bottom 
  1118.         display line  is changed  to say  "Scanning".  Pressing  ANY key 
  1119.         while the search  is in progress  will terminate the  search and 
  1120.         display the message 'Text not found' on the bottom line. 
  1121.   
  1122.             If the text is found, the line containing it is displayed as 
  1123.         a high-intensity line (bright color) in the middle of the screen 
  1124.         depending on the value of the Find Row (see cloning section). 
  1125.   
  1126.             If the text is NOT  found, the command line (25)  is changed 
  1127.         to  say  '***  text  not  found  ***',  and  the display remains 
  1128.         unchanged. 
  1129.   
  1130.             To find the next occurrence of the same text, use the A)gain 
  1131.         command, or press the F3 key.  To find the previous  occurrence, 
  1132.         press the F9 key. 
  1133.   
  1134.             If the PCED keyboard  enhancement program is installed,  the 
  1135.         up/down cursor keys  may be used  to recall and  edit previously 
  1136.         entered Scan/Find text. 
  1137.   
  1138.             In  a  shared  file  environment,  if the file changes while 
  1139.         being listed,  the file  position may  become invalid.   Use the 
  1140.         HOME command to insure proper file synchronization,   or use the 
  1141.         alt-S command again. 
  1142.   
  1143.             If the display has been  scrolled right or left so  that the 
  1144.         "found"  text  is  not  visible,  you  will  see  an upside-down 
  1145.         question mark in the first column.  This is the same symbol that 
  1146.         is  displayed  on  a  blank  line  while  changing the Find/Scan 
  1147.         colors.  It  is there  so that  you can  tell that  the line  is 
  1148.         marked. 
  1149.   
  1150.         Summary of scanning commands: 
  1151.   
  1152.                 /       Scan for text with exact match 
  1153.                 v or '  Scan for text going backwards 
  1154.   
  1155.                 \       Find text with case insensitive search 
  1156.                 ^ or `  Find case insensitive text going backwards 
  1157.   
  1158.                 F3      Find next occurrence of text 
  1159.                 F9      Find previous occurrence of text 
  1160.   
  1161.  
  1162.  
  1163. Page  16                                                    LIST  User's Guide 
  1164. Filtering 
  1165. ______________________________________________________________________________
  1166.  
  1167.   
  1168.             Filtering is the term used to describe the process that LIST 
  1169.         uses to  format file  data for  displaying on  a monitor.  After 
  1170.         data  is  read  from  a  file,  it  is  filtered.  The method of 
  1171.         filtering depends upon the options in effect. 
  1172.   
  1173.             For a typical ASCII  text file, the filter  removes carriage 
  1174.         return and line feed characters, and expands TAB characters. 
  1175.   
  1176.   
  1177.  
  1178.     Hi-bit Filter 
  1179.   
  1180.             The  7,  8,  and  *  (asterisk)  commands  determine whether 
  1181.         characters above ASCII-127 are displayed.  If the hi-bit  option 
  1182.         is off (7  command), the filter  strips the high  order bit from 
  1183.         each character.   If the  hi-bit option  is on  (8 command), all 
  1184.         characters, including  graphic characters  above ASCII-127,  are 
  1185.         displayed. 
  1186.   
  1187.  
  1188.     Star Filter 
  1189.   
  1190.             The  star  (*  or  asterisk)  command  displays  only  ASCII 
  1191.         characters below 128 (x'80'), but treats the special  characters 
  1192.         x'8A'  and  x'8D'  as  line-feed  and  carriage-return   control 
  1193.         characters.   Any  other  characters  above  127  are treated as 
  1194.         spaces, and control codes below ASCII-26 are replaced by blanks. 
  1195.   
  1196.             The Wrap option causes the filtering to insure that no  line 
  1197.         exceeds the width of the monitor, e.g. 80 characters. 
  1198.   
  1199.  
  1200.     Junk Filter 
  1201.   
  1202.             The alt-J  command toggles  the "junk"  filter which insures 
  1203.         that carriage  returns in  the file  also result  in a new line. 
  1204.         Also, backspace characters result in "backing up" the display by 
  1205.         one position.  This  allows more readability  of files that  use 
  1206.         backspacing to emphasize, or over-write, characters. 
  1207.   
  1208.   
  1209.  
  1210.     Hex Format Filter 
  1211.   
  1212.             The hex dump option (alt-H) causes the filtering to reformat 
  1213.         the file  data into  a DEBUG-like  display format.   The largest 
  1214.         file that can be displayed in Hex is 1 million bytes. 
  1215.   
  1216.             An  attempt  is  made  to  retain  the  file  position  when 
  1217.         switching from normal to hex-dump display, but due to  filtering 
  1218.         changing record lengths,  the hex display  may begin before  the 
  1219.         current record. 
  1220.   
  1221.         NOTE:   The  EOF  control character is  ignored in this version. 
  1222.   
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228. LIST  User's Guide                                                    Page  17 
  1229. DOS considerations 
  1230. ______________________________________________________________________________
  1231.  
  1232.  
  1233.     File Sharing 
  1234.   
  1235.             LIST uses  two techniques  for allowing  you to  share files 
  1236.         with   other   processes,   such   as   programs   running under 
  1237.         multi-tasking systems, in other windows, or on networks. 
  1238.   
  1239.             The first technique is called "file closing" and is  enabled 
  1240.         by the  alt-S commands.   This forces  LIST to  close the viewed 
  1241.         file unless it needs to read from the file.  If enough memory is 
  1242.         available, the entire file may be loaded once and thus leave the 
  1243.         file free for exclusive access by other processes. 
  1244.   
  1245.             The  second  technique  is  called  "file sharing".  It is a 
  1246.         function of  DOS and  requires DOS  version 3.0  or later.  LIST 
  1247.         opens the viewed  files with a  DENY NONE request.   This allows 
  1248.         other processes to  read and write  to the file  if they do  not 
  1249.         request exclusive use of the  file.  If a file is  not available 
  1250.         to  LIST  because  it  is  locked  by  another process, you will 
  1251.         receive the error message "File not found" or "Access  denied". 
  1252.         There is  no command  to enable  or disable  this method of file 
  1253.         sharing.  It is implicit with the use of DOS version 3. 
  1254.   
  1255.  
  1256.     Invoking DOS Commands 
  1257.   
  1258.             If the  "goto DOS"  option is  enabled, you  may invoke  DOS 
  1259.         commands by using the alt-G command.  LIST reserves about 60k of 
  1260.         memory  for   its  own   use.   This   increases  LIST's  memory 
  1261.         requirements  to  approximately  96k  when  using  alt-G.    The 
  1262.         remaining memory is available to the DOS commands. 
  1263.   
  1264.   
  1265.             After you have finished  entering DOS commands, use  the DOS 
  1266.         EXIT command to return to LIST. 
  1267.   
  1268.             To disable the  "goto DOS" function,  you must use  DEBUG to 
  1269.         alter the option  byte described in  the section about  cloning. 
  1270.         With it disabled, LIST requires less memory, about 66K. 
  1271.   
  1272.  
  1273.     Screen Saving 
  1274.   
  1275.             If  the  screen  saving  option  is  enabled, LIST saves the 
  1276.         contents of the current display screen when it starts.  You  can 
  1277.         restore  the  original  screen  by  exiting  LIST with the alt-X 
  1278.         command. 
  1279.   
  1280.             Screen saving requires approximately 10k more memory.   This 
  1281.         is sufficient to save 60 lines of 80 characters (EGA 8x6  mode). 
  1282.         See the section about cloning for information about enabling and 
  1283.         disabling the screen saving feature. 
  1284.   
  1285.  
  1286.  
  1287.  
  1288.  
  1289.  
  1290.  
  1291.  
  1292.  
  1293. Page  18                                                    LIST  User's Guide 
  1294. DEBUG Information 
  1295. ______________________________________________________________________________
  1296.  
  1297.   
  1298.            An alternative to cloning is  to use DEBUG to make  permanent 
  1299.         changes.  Here is a list of key items and their addresses: 
  1300.   
  1301.            0127 - special lines 1 and 25 colors, default is 01 (blue) 
  1302.                   Refer to a technical reference guide for the 
  1303.                   attribute values for the colors that you want. 
  1304.            0129 - normal lines 2 thru 24 colors, default is 02 (green) 
  1305.            012B - bright color for Find/Scan, default is 0F (bright white) 
  1306.            012D - clonable options; 
  1307.                MRSJ WHK*  M = mono, retrace testing if off, x'01' 
  1308.                           R = ruler, x'02' 
  1309.                           S = shared, x'04' 
  1310.                           J = add LF to lone CR, process backspaces, 
  1311.                               if on, x'08'; default is off 
  1312.                           W = wrap mode, x'10' 
  1313.                           H = hi-bit on, x'20' 
  1314.                           K = kybd flush, x'40' 
  1315.                           * = special document filtering, x'80' 
  1316.            012E - more clonable options, not all are indicated: 
  1317.                .PAT DGV.  P = Preload file if on, x'02', default is off 
  1318.                           A = Apxcore if on, TV/DD/DV if off, x'04, 
  1319.                               default is for Topview/Double DOS use 
  1320.                           T = if on (default), expand TABs, x'08' 
  1321.                           D = hex display mode if on, x'10' 
  1322.                           G = if on, alt-G goto DOS is Disabled, x'20' 
  1323.                           V = if on, screen save/restore is Disabled 
  1324.                               and 9K less memory is used/required, x'40' 
  1325.   
  1326.         By  specifying  the  bit  value,  the  option  is  enabled.  For 
  1327.         example, to enable  Shared and Retrace,  specify a hex  value of 
  1328.         the sum, or 01+04 = 05. 
  1329.            012F - row less one at which found text is displayed,  1 byte 
  1330.                   the default is 08 which displays found text on line  9 
  1331.            0131 - scroll offset value,  default is 10 (x'0A'),  one byte 
  1332.            0133 - scroll starting value, default is 0 (x'00'), one byte 
  1333.            0135 - tab increment, must be power of 2, default is 8 
  1334.            0137 - tab mask, subtract tab incr from FFFFh,default is FFF8 
  1335.            0139 - beep tone, default is 512 (hex 0200) 
  1336.   
  1337.             When  the  Find/Scan  command  is  used, the next line which 
  1338.         contains that text is highlighted using the 'bright' color,  and 
  1339.         is placed in  row 9 of  the screen.  You  can change the  row by 
  1340.         altering the byte  at location 12F  which is normally  '08', one 
  1341.         less than the row. 
  1342.   
  1343.             The letters and command keys may also be changed.  There are 
  1344.         two tables involved: WHAT and WHERE.  The WHAT table contains  a 
  1345.         list of  one-byte keyboard  codes.  The  WHERE table  contains a 
  1346.         list  of  two-byte  matching  addresses.   If you really want to 
  1347.         change the codes, here are the DEBUG addresses: 
  1348.   
  1349.            03AA - WHAT eye catcher 
  1350.            03AE - table of key codes,  ASCII 0-127,  then extended 0-132 
  1351.            04B3 - WHERE eye catcher 
  1352.            04B8 - list of two byte addresses of processing routines 
  1353.  
  1354.  
  1355.  
  1356.  
  1357.  
  1358. LIST  User's Guide                                                    Page  19 
  1359. Restrictions 
  1360. ______________________________________________________________________________
  1361.  
  1362.   
  1363.         Written by Vernon Buerg for the  IBM PC using DOS 2.0 or  later, 
  1364.         through DOS 3.2.  For personal use only; may not be sold. 
  1365.   
  1366.           o  The program requires about 48K of memory. If more memory is 
  1367.              available, it is used to store more of the file in  memory. 
  1368.              At least 80K is required to  use the DOS shell.  Add 9K  if 
  1369.              the screen saving option is enabled (default). 
  1370.   
  1371. |         o  The line number is currently limited to 16 million lines. 
  1372.   
  1373.           o  The  file  size  is  limited  to 16 million bytes for ASCII 
  1374. |            files, and to 4 million bytes for hex-dump files. 
  1375.   
  1376.           o  PC DOS Version 2.0 or later is required. DOS version 3.0 
  1377.              or later is required for file sharing. 
  1378.   
  1379.           o  ANSI.SYS is NOT required. 
  1380.   
  1381.         APX Core, DesqView, TopView, and Double DOS, IBM,  Sigma are all 
  1382.         copyrighted,  trademarked,  and all that. 
  1383.   
  1384.         LIST  is  supplied  for  personal,  private  use.   Feel free to 
  1385.         distribute LIST given these restrictions: 
  1386.   
  1387.           o  the program  shall be supplied in its original,  unmodified 
  1388.              form, which includes this documentation; 
  1389.   
  1390.           o  no fee is charged; 
  1391.   
  1392.           o  for-profit use without a license is prohibited; 
  1393.   
  1394.           o  the program may not be included -  or bundled - with  other 
  1395.              goods or services.  Exceptions may be granted upon  written 
  1396.              request only. This applies to clubs and distributors, too. 
  1397.   
  1398.   
  1399.         If you are  using LIST and  find it of  value, your gift  in any 
  1400.         amount ($15 suggested) will be greatly appreciated.  Please make 
  1401.         checks payable in U.S. dollars to Vernon D. Buerg.  Canadian and 
  1402.         non-U.S. checks are not acceptable. 
  1403.   
  1404.         For use by corporations  and other institutions, please  contact 
  1405.         me for a licensing arrangement.  More information is supplied in 
  1406.         the file LICENSE.TXT.  Customizing, licensing of the source, and 
  1407.         other special  licensing are  available upon  request.  Purchase 
  1408.         orders and invoicing are acceptable. 
  1409.   
  1410.   
  1411.                 Vernon D. Buerg 
  1412.                 139 White Oak Circle 
  1413.                 Petaluma, CA  94952 
  1414.   
  1415.                 Data:   (707) 778-8944    VOR 24-hour bulletin board 
  1416.                 Compuserve: 70007,1212 
  1417.  
  1418.  
  1419.  
  1420.  
  1421.  
  1422.  
  1423. Page  20                                                    LIST  User's Guide 
  1424. LIST  User's Guide                                                 Index-1
  1425. __________________________________________________________________________
  1426.  
  1427.  
  1428.  
  1429.   /*,command line,star filter .. 1, 15
  1430.   /7,command line,7-bit option . 1, 15
  1431.   /8,command line,8-bit option . 1
  1432.   /H,command line,hex option ... 1
  1433.   /J,command line,junk filter .. 1
  1434.   /L,command line,preload option 1
  1435.   /S,command line,piping option  1, 2
  1436.   /W,command line,wrap option .. 1
  1437.   Alt- keys .................... 6
  1438.   Alt-A,APXCORE option ......... 6, 15
  1439.   Alt-B,mark bottom line ....... 6, 7, 11
  1440.   Alt-C,clone new LIST.COM ..... 6, 8, 14, 15
  1441.   Alt-D,Write marked lines ..... 6, 11
  1442.   Alt-E,toggle 25/43 lines ..... 6, 12
  1443.   Alt-F,enter new filename ..... 4, 6, 10
  1444.   Alt-G,go to DOS .............. 1, 6, 18, 19
  1445.   Alt-H,toggle hex display ..... 3, 6, 15, 17
  1446.   Alt-J,toggle junk filter ..... 6, 11, 15, 17
  1447.   Alt-L,toggle file preloading . 6, 9, 15
  1448.   Alt-M,mark top line .......... 6, 7, 11
  1449.   Alt-N,toggle screen saving ... 6, 15
  1450.   Alt-O,write marked lines ..... 6
  1451.   Alt-R,toggle ruler display ... 3, 6, 15
  1452.   Alt-S,toggle file sharing .... 6, 15, 16, 18
  1453.   Alt-T,toggle TAB expansion ... 6, 15
  1454.   Alt-U,unmark lines ........... 6, 11
  1455.   Alt-W,freeze top window ...... 7
  1456.   Alt-X,exit to DOS ............ 1, 7, 10, 11, 15, 18
  1457.   Alt-Y,reposition to last line  7
  1458.   Cloning ...................... 8, 14, 15, 16, 18, 19
  1459.   Colors ....................... 6, 14, 15, 16, 19
  1460.   Command line format .......... 1, 13
  1461.   Command line,option switches . 1, 3, 12, 13, 14, 16
  1462.   Continuous,scrolling ......... 4, 8, 13
  1463.   Control- keys ................ 5
  1464.   Cursor keys .................. 4, 16
  1465.   DEBUG,changing options ....... 6, 15, 17, 18, 19
  1466.   Display Format ............... 12, 17
  1467.   Exit to DOS .................. 4, 5, 10
  1468.   F- function keys ............. 5
  1469.   File Sharing ................. 18, 20
  1470.   Find,text .................... 4, 5, 7, 13, 14, 16, 19, 20
  1471.   Hex dump,display mode ........ 1, 3, 6, 13, 15, 17
  1472.   Hex Format Filter ............ 17
  1473.   Hi-bit Filter ................ 17
  1474.   Hi-bit,filter ................ 17, 19
  1475.   Installation ................. 1
  1476.   Introduction ................. 1
  1477.   Invoking DOS Commands ........ 18
  1478.   Junk Filter .................. 17
  1479.   Junk,filter .................. 1, 2, 11, 15, 17
  1480.   Letter keys .................. 4
  1481.   License,information .......... 20
  1482.   LISTS.COM,small version ...... 1
  1483.   Piped,piping files ........... 1, 2
  1484.   Print,files or lines ......... 1, 11, 13
  1485.  
  1486. Index-2                                                LIST  User's Guide 
  1487. __________________________________________________________________________
  1488.  
  1489.  
  1490.  
  1491.   Scan,for text ................ 4, 5, 7, 13, 14, 16, 19
  1492.   Screen saving,option ......... 6, 7, 15, 18, 20
  1493.   Shell,to DOS ................. 1, 6, 20
  1494.   Star Filter .................. 17
  1495.   Star,filter .................. 1, 17
  1496.   Status Line Format ........... 12
  1497.   Switches,command line ........ 1
  1498.   TAB,control character ........ 2, 6, 13, 15, 17, 19
  1499.  
  1500.